package org.itworks.biodev.gui;

import java.util.*;

import org.itworks.biodev.gui.panels.*;
import org.itworks.biodev.model.*;
import org.itworks.helpers.*;

public class CreateCustomerDialogModel extends Observable {
	
	private Customer customer;


	public Customer getCustomer() {
		return this.customer;
	}
	/*
	 * Ajout du customer dans la base
	 */
	public void setInitCustomer(Customer c) {
		this.customer = c;	
		this.setChanged();
		this.notifyObservers(new MVCNotification(CreateCustomerDialogView.SET_CUSTOMER, this.customer));
		this.clearChanged();
	}
	
	public void setCustomer(Customer c) {
		this.customer = c;
	}
	
	
	
}
